package cn.csc.module.pay.controller.admin.rate.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDateTime;

import static cn.csc.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@ApiModel(value = "管理后台 - 见证宝提现手续费率 Excel 导出 Request VO", description = "参数和 PayJzbRatePageReqVO 是一致的")
@Data
public class PayJzbRateExportReqVO {

    @ApiModelProperty(value = "字典类型, 1:商户费率,2:分账费率")
    private String dicType;

    @ApiModelProperty(value = "字典数据")
    private String dicData;

    @ApiModelProperty(value = "商户编号")
    private Long merchantId;

    @ApiModelProperty(value = "手续费率，见证宝提现时用到")
    private BigDecimal rate;

    @ApiModelProperty(value = "是否默认手续费率")
    private Boolean isDefault;

    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
